<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    欢迎<span th:text="${username}"></span>访问网页 <br>

    <input type="text" name="birthday" th:value="${#dates.format(birthday,'yyyy-MM-dd')}"><br>

    <span th:if="${sex == '男'}">男</span>
    <span th:if="${sex == '女'}">女</span>

    <ul>
        <li th:each="value:${data}" th:text="${value}"></li>
    </ul>

    <a th:href="@{/hello/{id}(id=1)}">点我</a>



</body>
</html>